html,
body,
#app {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.ivu-modal-wrap.noBorder {
    color: #000000 !important;
    .ivu-modal-header {
        text-align: center;
        border: none;
        padding: 30px;
        .ivu-modal-header-inner {
            font-size: 20px;
        }
    }
}

.family-pingFangMedium {
    font-family: ' PingFang SC, PingFang SC-Medium';
}


/* ==================
        布局
==================== */

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.basis-xs {
    flex-basis: 20%;
}

.basis-sm {
    flex-basis: 40%;
}

.basis-df {
    flex-basis: 50%;
}

.basis-lg {
    flex-basis: 60%;
}

.basis-xl {
    flex-basis: 80%;
}

.flex-sub {
    flex: 1;
}

.flex-twice {
    flex: 2;
}

.flex-treble {
    flex: 3;
}

.flex-direction,
.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

// 级联样式
.cas-width {
    .ivu-cascader-menu {
        min-width: 180px;
    }
}

// table样式
.ivu-table-wrapper {
    border-left: 1px solid #e9e7ea !important;
    border-top: 1px solid #e9e7ea !important;
}

.ivu-table th,
.ivu-table td {
    border-right: 1px solid #e9e7ea;
    border-bottom: 1px solid #e9e7ea;
}

.ivu-table-header {
    .ivu-table-column-center {
        height: 40px;
        background-color: #ebeff8 !important;
        color: #232b31;
    }
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.j-sb {
    justify-content: space-between;
}

.j-center {
    justify-content: center
}

.a-center {
    align-items: center;
}

.j-evenly {
    justify-content: space-evenly;
}

@for $i from 1 through 1000 {
    .fw-#{$i} {
        font-weight: $i;
    }
    .w-#{$i} {
        width: ($i *1px)
    }
    .mt-#{$i} {
        margin-top: (1px * $i);
    }
    .mr-#{$i } {
        margin-right: (1px * $i);
    }
    .mb-#{$i} {
        margin-bottom: (1px * $i);
    }
    .ml-#{$i} {
        margin-left: (1px * $i);
    }
    .m-#{$i * 2} {
        margin: (2px * $i);
    }
    .pt-#{$i} {
        padding-top: (1px * $i);
    }
    .pr-#{$i} {
        padding-right: (1px * $i);
    }
    .pb-#{$i} {
        padding-bottom: (1px * $i);
    }
    .pl-#{$i} {
        padding-left: (1px * $i);
    }
    .p-#{$i * 2} {
        padding: (2px * $i);
    }
    .lh-#{$i * 2} {
        line-height: (2px * $i);
    }
    .f-size-#{$i * 2} {
        font-size: (2px * $i);
    }
    .fz-#{$i} {
        font-size: (1px * $i) !important;
    }
    .gap-tb#{$i * 2} {
        gap: (2px *$i) 0;
    }
    .gap-lr#{$i * 2} {
        gap: 0 (2px *$i)
    }
}

.tb {
    font-weight: 900;
}

.tb-400 {
    font-weight: 400;
}

.tb-500 {
    font-weight: 500;
}

.tb-700 {
    font-weight: 700;
}

.ma {
    margin: auto;
}

.t-center {
    text-align: center;
}

.t-left {
    text-align: left;
}

.t-right {
    text-align: right;
}

.w-100p {
    width: 100%;
}

.oneline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.twoline {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.threeline {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.ivu-btn:focus {
    box-shadow: none !important;
}